package com.lkx.farmershop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lkx.farmershop.common.api.ApiResult;
import com.lkx.farmershop.model.entity.Collect;
import com.lkx.farmershop.model.vo.CollectVo;

import java.util.List;

/**
 * (Collect)表服务接口
 *
 * @author makejava
 * @since 2025-02-09 15:34:56
 */
public interface CollectService extends IService<Collect> {

    ApiResult<String> collectGroup(Long tuanId, Long userId);

    ApiResult<Boolean> hasCollected(Long tuanId, Long userId);

    ApiResult<List<CollectVo>> getCollectList(Long userId);
}

